import React, { PropTypes } from 'react';
import TweenOne from 'rc-tween-one';

import {Icon,Tabs, Switch, Popover, Button, Modal, Form, Input, message, Row, Col, DatePicker, Cascader,Upload,} from 'antd';
const FormItem = Form.Item;
const TabPane = Tabs.TabPane;

import '../../less/memberAdd.less';

import CityArea from './CityArea';
import BuildInfo from './BuildInfo';
import UnitFloor from './UnitFloor';
import SourceInfo from './SourceInfo';
import SourceParam from './SourceParam';
import SourceArea from './SourceArea';

class SourceAdd extends React.Component {
  constructor(props){
    super(props);
    this.state = {

    }
  }

  componentDidMount(){

  }

  render() {
    return (
      <div className="memPanel">
        <div className="memPanelHead">
            新增商家会员
        </div>
        <Tabs defaultActiveKey="1">
          <TabPane tab="城市/区域" key="1">
              <CityArea />
          </TabPane>
          <TabPane tab="楼盘信息" key="2">
              <BuildInfo />
          </TabPane>
          <TabPane tab="单元/楼层" key="3">
              <UnitFloor />
          </TabPane>
          <TabPane tab="房源基础信息" key="4">
              <SourceInfo />
          </TabPane>
          <TabPane tab="房源参数信息" key="5">
              <SourceParam />
          </TabPane>
          <TabPane tab="房源面积价格" key="6">
              <SourceArea />
          </TabPane>
        </Tabs>
      </div>
    )
  }
}

SourceAdd = Form.create()(SourceAdd);

export default SourceAdd;
